#ifndef _CYLINDER_H
#define _CYLINDER_H
#include "global.h"



extern char mode;


class SimpleOpenNIViewer
{
public:
	SimpleOpenNIViewer();  // Construct a cloud viewer, with a window name


	void cloud_cb_(const pcl::PointCloud<pcl::PointXYZ>::ConstPtr &cloud);
	void run();
	pcl::visualization::CloudViewer viewer;
};

class FindCylinder
{
public:
	FindCylinder();  // Construct a cloud viewer, with a window name
	
	void cloud_cylinder_(const pcl::PointCloud<pcl::PointXYZ>::ConstPtr &cloud);
	void cylinder_run();
	pcl::visualization::CloudViewer viewer;
};

#endif     
